import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
    state: {
        heardIsFixedTop:false
    },
    mutations: {
        upHeardIsFixedTop(state,bool){
            state.heardIsFixedTop=bool
        }
    },
    getters:{
        getHeardState:state => {
            return state.heardIsFixedTop;
        }
    },
    actions: {
    },
    modules: {
    }
})
